<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./assets/css/layui-v2.5.6/layui/css/layui.css">
    <link rel="stylesheet" href="./assets/css/login.css">
    <script src="./assets/lib/jquery.min.js"></script>
    <script src="./assets/css/layui-v2.5.6/layui/layui.all.js"></script>
    <script src="./assets/js/baseAPI.js"></script>
    <script src="./assets/js/login.js"></script>
</head>
<body>
    <!-- login区域 -->
    <div class="logo-login">
        <img src="./assets/images/logo.png" alt="">
    </div>
    <!-- 登录表单区域 -->
    <div class="loginAndRegBox">
        <!-- 后台登录管理系统头部标题 -->
        <div class="title-box"></div>
        <!-- 登录界面 -->
        <div class="login-box">
            <form class="layui-form" id="login-form">
                <div class="layui-form-item layui-from-item-posi">
                    <i class="layui-icon layui-icon-username icon-font-ws" style="font-size: 16px;"></i>  
                    <input type="text" name="username" id="username-id-login" required  lay-verify="required|username" placeholder="请输入用户名" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-item layui-from-item-posi">
                    <i class="layui-icon layui-icon-password icon-font-ws" style="font-size: 16px;"></i>  
                    <input type="password" name="password"  id="password-id-login" required  lay-verify="required|pass" placeholder="请输入用密码" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-item">
                    <button class="layui-btn" lay-submit lay-filter="formDemo" id = "btnLogin">登录</button>
                </div>
                <div class="layui-form-item">
                    <a href="javascript:;" class="link_reg" id="goregitst">去注册账号</a>
                </div>
            </form>
        </div>
        <!-- 注册界面 -->
        <div class="reg-box">
            <form class="layui-form" id="register-form">
                <div class="layui-form-item layui-from-item-posi">
                    <i class="layui-icon layui-icon-username icon-font-ws" style="font-size: 16px;"></i>  
                    <input type="text" name="username" id ="username-id-regist" required  lay-verify="required|username" placeholder="请输入用户名" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-item layui-from-item-posi">
                    <i class="layui-icon layui-icon-password icon-font-ws" style="font-size: 16px;"></i> 
                    <input type="password" name="password" id ="password-id-regist" required  lay-verify="required|pass" placeholder="请输入用密码" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-item layui-from-item-posi">
                    <i class="layui-icon layui-icon-password icon-font-ws" style="font-size: 16px;"></i> 
                    <input type="password" name="password" required  lay-verify="required|repass" placeholder="请再次输入密码" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-item">
                    <button class="layui-btn" lay-submit>注册</button>
                </div>
                <div class="layui-form-item">
                    <a href="javascript:;" class="link_reg" id="gologin">去登录</a>
                </div>
            </form>
        </div>
    </div>
</body>
</html>